<include file="__THEME__/header" />
<link rel="stylesheet" href="../Public/gift.css" type="text/css" media="screen" charset="utf-8" />
<link href="__PUBLIC__/js/pagination/pagination.css" rel="stylesheet" type="text/css" />
<div class="content"> <!-- 内容 begin  -->
  <include file="__THEME__/apps" />
  <div class="main"><!-- 画布 begin  -->
    <div class="page_title">
      <h2><img src="../Public/images/ico_apply.gif" />礼品</h2>
      <div class="c"></div>
    </div>
    <div class="tab-menu">
      <!-- 切换标签 begin  -->
      <ul>
        <li><a href="__URL__/index"><span>礼物中心</span></a></li>
        <li><a href="__URL__/receivebox"><span>收到的礼物</span></a></li>
        <li><a class="on" href="__URL__/sendbox"><span>送出的礼物</span></a></li>
      </ul>
    </div> <!-- 切换标签 end  -->
	<div style="margin-left:20px;" class="gift_list">
	<volist name="gifts['data']" id='gift'>
	<div class="gift_box">
        	<div class="left" style="width:90px;"><img src="../Public/gift/{$gift.giftImg}" /></div>
            <div class="left" style="width:560px;">
              <div class="lh20"><a href="__TS__/space/{$gift.fromUserId}">我</a> 在 {$gift.cTime|friendlyDate} 花费了 {$gift.giftPrice}个{$config.creditName} 赠送给<a href="__TS__/space/{$gift.toUserId}">{$gift.toUserId|getUserName}</a>的礼物。<br /> 
              <div class="cGray2 lh30">我还给<php>echo getUserWo($gift['toUserId'],$mid);</php>留言说：</div>
              <div class="quote" style="margin:0;"><p>{$gift.sendInfo}<span class="quoteR">&nbsp;</span></p></div>
        </div>
        </div>
        <div class="c"></div>           
  </div>
  </volist>
  <div id="Pagination" class="pagination">{$gifts.html}</div>
  </div>
  </div><!-- 画布 end  -->
  <div class="c"></div>
</div>
<!-- 内容 end -->
<include file="__THEME__/footer" />